//
//  MYGHealthManagementRowModel.swift
//  MYGrow
//
//  Created by 林矗 on 2024/3/9.
//

import UIKit

enum MYGHealthManagementRowType: Int {
    case statistics = 0
    case normal
    case food
    case sport
    case report
}

protocol MYGHealthManagementRowModelDelegate {
    func valueChanged(model: MYGHealthManagementRowModel)
}

class MYGHealthManagementRowModel: NSObject {
    var type: MYGHealthManagementRowType
    var delegate: MYGHealthManagementRowModelDelegate?
    var action:(() -> ())? {
        return {
            
        }
    }
    init(type: MYGHealthManagementRowType) {
        self.type = type
    }
}
